<!-- PAGE CONTENT WRAPPER -->
<div class="page-content-wrap">
    <div class="row">
        <div style="background: #ffffff;">
            <form class="form-horizontal" name="setHSCForm" novalidate>
                <div class="panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title"><strong>设置地图风格</strong></h3>
                    </div>
                    <div class="panel-body panel-dialog">
                        <p>请按照提示设置课程相关地图风格的信息。</p>
                        <div class="form-group">
                            <label class="col-md-3 col-xs-12 control-label">当前地图风格</label>
                            <div class="col-md-6 col-xs-12 control-label" style="text-align: left;">
                                <div class="input-group" ng-show="!!setStudyMapRoute.id">
                                    <ul>
                                        <li>名称：{{setStudyMapRoute.name}}</li>
                                        <li>ID：{{setStudyMapRoute.id}}</li>
                                    </ul>
                                </div>
                                <div class="input-group" ng-show="!setStudyMapRoute.id">
                                    <span style="color: red;">无</span>
                                </div>
                            </div>
                            <button class="btn btn-info" ng-click="unBind()">
                                <i class="fa fa-plus"></i> 解 绑
                            </button>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 col-xs-12 control-label">匹配地图风格</label>
                            <div class="col-md-6 col-xs-12">
                                <div class="input-group">
                                    <span class="input-group-addon"><span class="fa fa-pencil"></span></span>
                                    <input type="text" class="form-control"
                                           ng-model="routeKey" placeholder="输入地图风格名称、点击匹配进行查询"/>
                                </div>
                            </div>
                            <button class="btn btn-primary" ng-click="queryStudyMapRoute()">
                                <i class="fa fa-search"></i> 搜 索
                            </button>
                        </div>

                        <div class="form-group" ng-repeat="route in routeResult">
                            <label class="col-md-3 col-xs-12 control-label"></label>
                            <div class="col-md-6 col-xs-12 control-label" style="text-align: left">
                                <div class="input-group">
                                    <ul>
                                        <li>名称：{{route.name}}</li>
                                        <li>ID：{{route.id}}</li>
                                    </ul>
                                </div>
                            </div>
                            <button class="btn btn-info" ng-click="setCurrentRoute(route)">
                                <i class="fa fa-plus"></i> 匹 配
                            </button>
                        </div>
                    </div>
                    <div class="panel-footer" style="text-align: center;">
                        <button class="btn btn-danger" ng-click="cancel()"><i class="fa fa-times"></i>取消</button>
                        <button class="btn btn-info" ng-click="submit()"><i class="fa fa-check"></i>确定</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<!-- END PAGE CONTENT WRAPPER -->